export const getSearchParams = (key: string) => {
	const searchParams = new URLSearchParams(window.location.search);
	return searchParams.has(key) ? searchParams.get(key) : null;
};
